package com.jeff.meta.model;

/**
 * 士兵类 用于计算士兵所应得的子弹数
 * {@Description} 说明
 * {@Author} <b style="color:yellow">yaojianfeng</b> 2024/7/2 下午10:12
 */
public class Soldier {
    private int score;
    private int position;
    private int bullets;
    private Soldier leftSoldier;
    private Soldier rightSoldier;

    public Soldier(int score, int position, int bullets) {
        this.score = score;
        this.position = position;
        this.bullets = bullets;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getBullets() {
        return bullets;
    }

    public void setBullets(int bullets) {
        this.bullets = bullets;
    }

    public Soldier getLeftSoldier() {
        return leftSoldier;
    }

    public void setLeftSoldier(Soldier leftSoldier) {
        this.leftSoldier = leftSoldier;
    }

    public Soldier getRightSoldier() {
        return rightSoldier;
    }

    public void setRightSoldier(Soldier rightSoldier) {
        this.rightSoldier = rightSoldier;
    }
}
